<template lang="html">
    <div class="app">
        <div class="left">
            <leftNav></leftNav>
        </div>
        <div class="right">
            <topBar></topBar>
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
import leftNav from '@/components/leftNav';
import topBar from '@/components/topBar';
export default {
    name: 'app',
    components:{
        leftNav,topBar
    },
    data () {
        return {
            msg: 'index'
        }
    },
    created(){
    }
}
</script>

<style lang="less">
.app{
    display: flex;
    justify-content: space-between;
    .left{
        width: 200px;
        height: auto;
    }
    .right{
        width: auto;
        flex:1 1 auto;
        .el-menu{
            border-radius: 0px;
            height: 56px;
            .el-menu-item{
                height: inherit;
            }
        }
    }
}
</style>
